package com.ruoyi.reportInfo.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物流企业仓库信息业务对象 industrial_logistics_company_store
 *
 * @author yangzhen
 * @date 2025-11-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "IndustrialLogisticsCompanyStoreBo", description = "物流企业仓库信息业务对象")
public class IndustrialLogisticsCompanyStoreBo extends BaseEntity {

    /**
     * 主键id
     */
    @Schema(description = "主键id")
    @NotBlank(message = "主键id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 公司id
     */
    @Schema(description = "公司id")
    @NotBlank(message = "公司id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String companyId;

    /**
     * 仓库名称
     */
    @Schema(description = "仓库名称")
    @NotBlank(message = "仓库名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeName;

    /**
     * 仓库类型
     */
    @Schema(description = "仓库类型")
    @NotBlank(message = "仓库类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storeType;

    /**
     * 货物类型
     */
    @Schema(description = "货物类型")
    @NotBlank(message = "货物类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String goodsType;

    /**
     * 面积
     */
    @Schema(description = "面积")
    @NotNull(message = "面积不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal area;

    /**
     * 容量
     */
    @Schema(description = "容量")
    @NotNull(message = "容量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal capacity;

    /**
     * 仓库地址
     */
    @Schema(description = "仓库地址")
    @NotBlank(message = "仓库地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String location;

    /**
     * 仓库地址经度
     */
    @Schema(description = "仓库地址经度")
    @NotBlank(message = "仓库地址经度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String longitude;

    /**
     * 仓库地址纬度
     */
    @Schema(description = "仓库地址纬度")
    @NotBlank(message = "仓库地址纬度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String latitude;

    /**
     * 数据收集时间
     */
    @Schema(description = "数据收集时间")
    @NotNull(message = "数据收集时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date reportCollectDate;

    /**
     * 数据来源
     */
    @Schema(description = "数据来源")
    private String dataSources;

    /**
     * 入住平台状态
     */
    @Schema(description = "入住平台状态")
    private String checkInStatus;

    /**
     * 企业名称
     */
    @Schema(description = "企业名称")
    private String companyName;
}
